package com.example.lab.service;

import com.example.lab.entity.Laboratories;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.lab.result.PageResult;

/**
 * <p>
 * 实验室信息表 服务类
 * </p>
 *
 * @author 布莱恩
 * @since 2025-06-17
 */
public interface ILaboratoriesService extends IService<Laboratories> {

    PageResult<Laboratories> getLaboratories(Integer collegeId, Integer page, Integer limit);

    Laboratories getLaboratoryById(Integer labId);

    boolean createLaboratory(Laboratories laboratory);

    boolean updateLaboratory(Integer labId, Laboratories laboratory);

    boolean isLaboratoryEnabled(Integer labId);

    boolean deleteLaboratory(Integer labId);

}
